package com.ruoyi.system.domain.DO;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RetrievalSearchParams {

    //查询参数
    private String searchWord;
    //所在资源库
    private String db;
    //所在知识库 String 或者 list
    private Object classesEn;
    //查询字段
    private List<RetrievalSearchField> searchFields;
    //分面字段
    private List<RetrievalFacetField> facetFields;
    //首页显示字段
    private List<RetrievalSearchField> listDisplayFields;
    //指定加载分面字段。例：name
    private List<String> appointFacetField;
    //根据分面条件插叙
    private Map<String, List<String>> appointFacetFieldMap;
    //排序规则 {"title":"desc"}
    private HashMap<String, String> sortRules;
    //权重 {"title":"0.6", "author":"0.8", "keyword":"1.0"};
    private HashMap<String, String> weightRules;
    //页码
    private Integer pageNumber;
    //每页条数
    private Integer pageSizes;

    public List<String> getAppointFacetField() {
        return appointFacetField;
    }

    public void setAppointFacetField(List<String> appointFacetField) {
        this.appointFacetField = appointFacetField;
    }

    public Map<String, List<String>> getAppointFacetFieldMap() {
        return appointFacetFieldMap;
    }

    public void setAppointFacetFieldMap(Map<String, List<String>> appointFacetFieldMap) {
        this.appointFacetFieldMap = appointFacetFieldMap;
    }

    public String getSearchWord() {
        return searchWord;
    }

    public void setSearchWord(String searchWord) {
        this.searchWord = searchWord;
    }

    public String getDb() {
        return db;
    }

    public void setDb(String db) {
        this.db = db;
    }

    public Object getClassesEn() {
        return classesEn;
    }

    public void setClassesEn(Object classesEn) {
        this.classesEn = classesEn;
    }

    public List<RetrievalSearchField> getSearchFields() {
        return searchFields;
    }

    public void setSearchFields(List<RetrievalSearchField> searchFields) {
        this.searchFields = searchFields;
    }

    public List<RetrievalFacetField> getFacetFields() {
        return facetFields;
    }

    public void setFacetFields(List<RetrievalFacetField> facetFields) {
        this.facetFields = facetFields;
    }

    public HashMap<String, String> getSortRules() {
        return sortRules;
    }

    public void setSortRules(HashMap<String, String> sortRules) {
        this.sortRules = sortRules;
    }

    public HashMap<String, String> getWeightRules() {
        return weightRules;
    }

    public void setWeightRules(HashMap<String, String> weightRules) {
        this.weightRules = weightRules;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSizes() {
        return pageSizes;
    }

    public void setPageSizes(Integer pageSizes) {
        this.pageSizes = pageSizes;
    }

    public List<RetrievalSearchField> getListDisplayFields() {
        return listDisplayFields;
    }

    public void setListDisplayFields(List<RetrievalSearchField> listDisplayFields) {
        this.listDisplayFields = listDisplayFields;
    }
}
